package com.fengke.dao.member;

import java.sql.SQLException;
import java.util.List;

import com.fengke.dao.model.MemberModel;
import com.fengke.dao.model.OpenUnionModel;
import com.fengke.dao.model.ProductModel;

public interface MemberManager {

	Integer researchMemberListSize(MemberModel memberModel) throws SQLException;

	List<MemberModel> researchMemberList(MemberModel memberModel, int offset, int limit) throws SQLException;

	List<MemberModel> researchMemberListByProductInfo(ProductModel productModel) throws SQLException;

	Long createOpenUnion(OpenUnionModel openUnionModel) throws SQLException;

	OpenUnionModel researchOpenUnionByOpenId(OpenUnionModel openUnionModel) throws SQLException;

	MemberModel researchMemberByUnionId(MemberModel memberModel) throws SQLException;

	Long createMember(MemberModel memberModel) throws SQLException;

}
